package com.zhuang.designpattern.abstractfactory;

import com.zhuang.designpattern.abstractfactory.impl.CacheServiceImpl;

/**
 * description: Test
 * date: 2022/9/10 16:16
 * author: Zhuang
 * version: 1.0
 */
public class Test {
    public static void main(String[] args) {
        CacheService cacheService = new CacheServiceImpl();
        cacheService.set("user_name_01", "张三", 1);
        String val01 = cacheService.get("user_name_01",1);
        System.out.println(val01);
    }

}
